3DWorld (13/293)

From:Denis 'Troll' TROLLER
Date:3 Apr 2000 at 21:55:13
Subject:Re: Problem with Warp3D in a window

On 02-avr-00, Hans-Joerg Frieden wrote:

> On Sun, 2 Apr 2000, Denis 'Troll' TROLLER wrote:
>
>> I'm new on this mailing-list and I have a question about Warp3D. I'm
>> trying to make it work in a window, but I'm unable to allocate a valid
>> CyberGraphics bitmap for Warp3D to draw into. I've tried a simple
>> AllocBitmap() with my window bitmap as a friend BitMap but it doesn't
>> seem to work.
>>
>> Could anoyone help ?
>
> You have to specify BMF_DISPLAYABLE|BMF_MINPLANES as flags, otherwise
> the bitmap will be allocated in system memory (still in friend format,
> but not much help..)
>

Thanks ! I hadn't noticed that the BMF_MINPLANES tags was mandatory :)
Now it works.

> Don't forget to use ClipBlit to copy, otherwise you might trash other
> layers.

What about BltBitMapRastPort() ?

Regards



Denis 'Troll' Troller
http://CdBSSoftware.net/Troll